xen/kexec: remove spinlock now that all KEXEC hypercall ops are protected at the...
authorEric DeVolder <eric.devolder@oracle.com>
Wed, 19 Apr 2017 21:01:49 +0000 (16:01 -0500)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Apr 2017 17:11:36 +0000 (18:11 +0100)
commitf5c842bf6364541151923d488211ec1bc50d25e0
tree18dd47fb4488681ded8d905c9be3613c29d27048
parent4f0b707feb673b2497ee2fa2454eaf4bbafaea2b
xen/kexec: remove spinlock now that all KEXEC hypercall ops are protected at the top-level

The spinlock in kexec_swap_images() was removed as
this function is only reachable on the kexec hypercall, which is
now protected at the top-level in do_kexec_op_internal(),
thus the local spinlock is no longer necessary.

Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
Reviewed-by: Bhavesh Davda <bhavesh.davda@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
xen/common/kexec.c